how to make an entangled state